from datetime import datetime

def life_calculator():
    birth_date_str = input("请输入您的出生日期 (格式 YYYY-MM-DD): ")
    try:
        birth_date = datetime.strptime(birth_date_str, "%Y-%m-%d")
        today = datetime.now()
        weekdays = ["星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"]
        day_of_week = weekdays[birth_date.weekday()]
        print(f"您出生的那天是: {day_of_week}")
        delta = today - birth_date
        print(f"到今天为止，您已经度过了 {delta.days} 天。")
    except ValueError:
        print("日期格式不正确，请输入类似 '2000-01-30' 的格式。")

life_calculator()